using System;
using SanJ.FreeCare.Shared;
using Volo.Abp.AutoMapper;
using SanJ.FreeCare.Medications;
using AutoMapper;
using SanJ.FreeCare.CodeSystems;
using SanJ.FreeCare.Peis.Dto;

namespace SanJ.FreeCare;

public class FreeCareApplicationAutoMapperProfile : Profile
{
    public FreeCareApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */

        CreateMap<Medication, MedicationDto>();
        CreateMap<Medication, MedicationExcelDto>();

        CreateMap<CodeSystem, CodeSystemDto>();
        CreateMap<UpdateCodeSystemInput, CodeSystem>();
        CreateMap<CreateCodeSystemInput, CodeSystem>();
    }
}